package com.kws.merchant.domain;


import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.Date;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 运维-两票管理模板(OperationTicketFile)表实体类
 *
 * @author yxy
 * @since 2024-12-11 19:56:14
 */
@Data
@ApiModel("运维-两票管理模板")
@TableName(value = "tb_operation_ticket_file")
public class OperationTicketFile extends Model<OperationTicketFile> implements Serializable {
    private static final long serialVersionUID = -88704602401028774L;

    @TableId(type = IdType.AUTO)
    @ApiModelProperty("$column.comment")
    private Long id;

    @ApiModelProperty("模板")
    private String file;

    @ApiModelProperty("类型0工作票 1操作票")
    private Integer type;

    @ApiModelProperty("名称")
    private String name;

    @ApiModelProperty("工作票类型0电气带电作业 1电气第一种 2电气第二种 3紧急抢修工作票")
    private Integer workType;

    @ApiModelProperty("操作票类型0倒闸 1检修 2特殊 3临时 4紧急")
    private Integer handleType;

    @TableField(fill = FieldFill.INSERT)
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GTM+8")
    @ApiModelProperty("$column.comment")
    private Date createTime;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GTM+8")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty("$column.comment")
    private Date updateTime;
}
